extends Sprite2D

signal child1_signal

var fn_do : StringName
var fn_callback : Callable
var target_node
var target_node_name : NodePath

func get_from_other():
	print("函数调用:get from other")

func _on_timer_timeout():
	child1_signal.emit()
	# 或者
	emit_signal("child1_signal")

	if fn_do != null:
		self.call(fn_do)
	fn_callback.call()
	target_node.do()
	get_node(target_node_name).do()
